/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using DGZImp.SysEntity;

namespace DGZImp.BizEntity.DomainModels
{
    [Entity(TableCnName = "容器管理",TableName = "c_wms_container_t",DBServer = "ServiceDbContext")]
    public partial class c_wms_container_t:ServiceEntity
    {
        /// <summary>
       ///容器编码
       /// </summary>
       [Display(Name ="容器编码")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string container_code { get; set; }

       /// <summary>
       ///容器名称
       /// </summary>
       [Display(Name ="容器名称")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string container_name { get; set; }

       /// <summary>
       ///容器类型
       /// </summary>
       [Display(Name ="容器类型")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int container_type { get; set; }

       /// <summary>
       ///容器用途
       /// </summary>
       [Display(Name ="容器用途")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int container_usage { get; set; }

       /// <summary>
       ///占用
       /// </summary>
       [Display(Name ="占用")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int container_status { get; set; }

       /// <summary>
       ///占用人
       /// </summary>
       [Display(Name ="占用人")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string occupant_user { get; set; }

       /// <summary>
       ///占用单据
       /// </summary>
       [Display(Name ="占用单据")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string occupant_doc_no { get; set; }

       /// <summary>
       ///启用
       /// </summary>
       [Display(Name ="启用")]
       [Column(TypeName="sbyte")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public sbyte enable { get; set; }

       /// <summary>
       ///容器重量
       /// </summary>
       [Display(Name ="容器重量")]
       [DisplayFormat(DataFormatString="20,8")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? container_weight { get; set; }

       /// <summary>
       ///装载量
       /// </summary>
       [Display(Name ="装载量")]
       [DisplayFormat(DataFormatString="20,8")]
       [Column(TypeName="decimal")]
       [Editable(true)]
       public decimal? capacity { get; set; }

       /// <summary>
       ///外部容器
       /// </summary>
       [Display(Name ="外部容器")]
       [MaxLength(1)]
       [Column(TypeName="nvarchar(1)")]
       [Editable(true)]
       public string is_outside { get; set; }

       /// <summary>
       ///ID
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="ID")]
       [MaxLength(36)]
       [Column(TypeName="uniqueidentifier")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public Guid id { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(512)]
       [Column(TypeName="nvarchar(512)")]
       [Editable(true)]
       public string remarks { get; set; }

       /// <summary>
       ///是否有效
       /// </summary>
       [Display(Name ="是否有效")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? IsValid { get; set; }

       /// <summary>
       ///创建人名
       /// </summary>
       [Display(Name ="创建人名")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string Creator { get; set; }

       /// <summary>
       ///创建人
       /// </summary>
       [Display(Name ="创建人")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string CreateID { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreateTime { get; set; }

       /// <summary>
       ///修改人名
       /// </summary>
       [Display(Name ="修改人名")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string Modifier { get; set; }

       /// <summary>
       ///修改人
       /// </summary>
       [Display(Name ="修改人")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       public string ModifyID { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? ModifyTime { get; set; }

       /// <summary>
       ///仓库
       /// </summary>
       [Display(Name ="仓库")]
       [MaxLength(100)]
       [Column(TypeName="nvarchar(100)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string warehouse_id { get; set; }

       
    }
}